package com.ruoyi.recruit.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.recruit.domain.RecruitFile;
import com.ruoyi.recruit.domain.RecruitResult;
import com.ruoyi.recruit.domain.Recruiter;
import com.ruoyi.recruit.domain.vo.RecruiterVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author MMDZ
 * @date 2022/10/24 11:59
 * @description TODO
 */
public interface IRecruiterService {
    List<RecruiterVo> selectList(Recruiter recruiter);
    Recruiter selectById(Long recruitId);
    RecruitResult selectResultById(Long recruitResultId);
    int insertRecruiter(Recruiter recruiter);
    int updateRecruiter(Recruiter recruiter);
    int insertRecruitResult(RecruitResult recruitResult);
    int updateRecruitResult(RecruitResult recruitResult);


    AjaxResult fileUpload(MultipartFile file, Long recruitId) throws IOException;
    List<RecruitFile> selectFileList(Long recruitId);
    int insertRecruitFile(RecruitFile recruitFile);
    int deleteRecruitFile(Long recruitFileId);
}
